package com.aaa.dao;

import com.aaa.entity.Fuser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;
import java.util.Map;

public interface FuserMapper extends BaseMapper<Fuser> {
    @Select("select *from f_user where id=#{uid}")
    List<Map>select(String uid);

    @Update("update f_user set password=#{param1} where id=#{param2}")
    boolean updatePassword(String password,int id);
}
